package com.itheima.mapper;

import com.itheima.domain.Category;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface CategoryMapper {

    @Select("select * from tb_category")
    List<Category> getAll();
}
